package com.mocoop.entity;

import java.io.Serializable;

import android.graphics.Bitmap;

public class PageInfoEntity implements Serializable {
	private String url;
	private String configFileSubPath;
	private String title;
	private String showType;
	private boolean animated;
	private MocoopStyle mocoopStyle;

	
	
	public MocoopStyle getMocoopStyle() {
		return mocoopStyle;
	}

	public void setMocoopStyle(MocoopStyle mocoopStyle) {
		this.mocoopStyle = mocoopStyle;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getConfigFileSubPath() {
		return configFileSubPath;
	}

	public void setConfigFileSubPath(String configFileSubPath) {
		this.configFileSubPath = configFileSubPath;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getShowType() {
		return showType;
	}

	public void setShowType(String showType) {
		this.showType = showType;
	}

	public boolean getAnimated() {
		return animated;
	}

	public void setAnimated(boolean animated) {
		this.animated = animated;
	}

	@Override
	public String toString() {
		return "PageControllerEntity [url=" + url + ", configFileSubPath=" + configFileSubPath + ", title=" + title + ", showType=" + showType + ", animated=" + animated + "]";
	}

	/******************************************************************************/

	public static class ButtonItem {
		private String title;
		private String tintColor;
		private float fontSize;
		private String eventNameForTriggerOnClick;
		
		

		public String getEventNameForTriggerOnClick() {
			return eventNameForTriggerOnClick;
		}

		public void setEventNameForTriggerOnClick(String eventNameForTriggerOnClick) {
			this.eventNameForTriggerOnClick = eventNameForTriggerOnClick;
		}

		public String getTitle() {
			return title;
		}

		public void setTitle(String title) {
			this.title = title;
		}

		public String getTintColor() {
			return tintColor;
		}

		public void setTintColor(String tintColor) {
			this.tintColor = tintColor;
		}

		public float getFontSize() {
			return fontSize;
		}

		public void setFontSize(float fontSize) {
			this.fontSize = fontSize;
		}

	}
	
	
	public static class Bar {
		private String titleColor;
		private String barTintColor;
		private String leftImgBut;
		private String rightImgBut;
		private String rightEvent;
		private ButtonItem leftButtonItem;
		private ButtonItem rightButtonItem;

		
		public String getRightEvent() {
			return rightEvent;
		}

		public void setRightEvent(String rightEvent) {
			this.rightEvent = rightEvent;
		}

		public String getRightImgBut() {
			return rightImgBut;
		}

		public void setRightImgBut(String rightImgBut) {
			this.rightImgBut = rightImgBut;
		}

		public String getLeftImgBut() {
			return leftImgBut;
		}

		public void setLeftImgBut(String leftImgBut) {
			this.leftImgBut = leftImgBut;
		}

		public ButtonItem getLeftButtonItem() {
			return leftButtonItem;
		}

		public void setLeftButtonItem(ButtonItem leftButtonItem) {
			this.leftButtonItem = leftButtonItem;
		}

		public ButtonItem getRightButtonItem() {
			return rightButtonItem;
		}

		public void setRightButtonItem(ButtonItem rightButtonItem) {
			this.rightButtonItem = rightButtonItem;
		}

		public String getTitleColor() {
			return titleColor;
		}

		public void setTitleColor(String titleColor) {
			this.titleColor = titleColor;
		}

		public String getBarTintColor() {
			return barTintColor;
		}

		public void setBarTintColor(String barTintColor) {
			this.barTintColor = barTintColor;
		}

		
	}

	public static class ContentView {
		private String backGroundColor;

		public String getBackGroundColor() {
			return backGroundColor;
		}

		public void setBackGroundColor(String backGroundColor) {
			this.backGroundColor = backGroundColor;
		}

	}

	public static class MocoopStyle{

		private Bar topBar;

		private ContentView contentView;

		public ContentView getContentView() {
			return contentView;
		}

		public void setContentView(ContentView contentView) {
			this.contentView = contentView;
		}

		public Bar getTopBar() {
			return topBar;
		}

		public void setTopBar(Bar topBar) {
			this.topBar = topBar;
		}

	}

}
